﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyRapChieuPhim.DTO
{
    class KhachHangDTO
    {
        private int m_DaXoa;
        public int DaXoa
        {
            get { return m_DaXoa; }
            set { m_DaXoa = value; }
        }

        private int m_MaKhachHang;
        public int MaKhachHang
        {
            get { return m_MaKhachHang; }
            set { m_MaKhachHang = value; }
        }

        private string m_TenKhachHang;
        public string TenKhachHang
        {
            get { return m_TenKhachHang; }
            set { m_TenKhachHang = value; }
        }

        private string m_CMND;
        public string CMND
        {
            get { return m_CMND; }
            set { m_CMND = value; }
        }

        private DateTime m_NgaySinh;
        public DateTime NgaySinh
        {
            get { return m_NgaySinh; }
            set { m_NgaySinh = value; }
        }


        private string m_GioiTinh;
        public string GioiTinh
        {
            get { return m_GioiTinh; }
            set { m_GioiTinh = value; }
        }

        private string m_DiaChi;
        public string DiaChi
        {
            get { return m_DiaChi; }
            set { m_DiaChi = value; }
        }

        private string m_DienThoai;
        public string DienThoai
        {
            get { return m_DienThoai; }
            set { m_DienThoai = value; }
        }

        public KhachHangDTO() { }

        public KhachHangDTO(int _MaKhachHang, string _TenKhachHang, string _CMND, DateTime _NgaySinh, string _GioiTinh, string _DiaChi, string _DienThoai) 
        {
            MaKhachHang = _MaKhachHang;
            TenKhachHang = _TenKhachHang;
            CMND = _CMND;
            NgaySinh = _NgaySinh;
            GioiTinh = _GioiTinh;
            DiaChi = _DiaChi;
            DienThoai = _DienThoai;
        }

        public KhachHangDTO(KhachHangDTO KhachHang)
        {
            MaKhachHang = KhachHang.MaKhachHang;
            TenKhachHang = KhachHang.TenKhachHang;
            CMND = KhachHang.CMND;
            NgaySinh = KhachHang.NgaySinh;
            GioiTinh = KhachHang.GioiTinh;
            DiaChi = KhachHang.DiaChi;
            DienThoai = KhachHang.DienThoai;
        }
    }
}
